package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 派工单管理对象 mes_dispatch
 * 
 * @author ruoyi
 * @date 2021-12-13
 */
public class MesDispatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String dispatchUuid;

    /** 车间计划id */
    @Excel(name = "车间计划id")
    private String fkMesPsUuid;

    /** 工段（部门表ID，外键） */
    @Excel(name = "工段", readConverterExp = "部=门表ID，外键")
    private Long fkDeptId;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal dispatchQty;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtStart;

    /** 完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtDone;

    /** 审核人（用户表ID） */
    @Excel(name = "审核人", readConverterExp = "用=户表ID")
    private Long fkConfirmUserId;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String wmsDictMeasuringUnit;
    /** 工艺号 */
    @Excel(name = "工艺号")
    private String processDocNum;
    /** 工艺员 */
    @Excel(name = "工艺员")
    private String processNickName;
    /** 派工经办人 */
    @Excel(name = "派工经办人")
    private String dispatchNickName;
    /** 版本号 */
    @Excel(name = "版本号")
    private String drawNum;
    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;
    /** 计划号 */
    @Excel(name = "计划号")
    private String mpsDocNum;
    /** 任务号 */
    @Excel(name = "任务号")
    private String taskDocNum;
    /** 计划订单号 */
    @Excel(name = "计划订单号")
    private String epsDocNum;
    /** 经办人 */
    @Excel(name = "经办人")
    private String attentionNickName;
    /** 工艺施工 */
    @Excel(name = "工艺施工")
    private String processExecUuid;
    /** 派工号 */
    @Excel(name = "派工号")
    private String dispatchDocNum;
    /** 开始时间的开始时间 */
    @Excel(name = "开始时间的开始时间")
    private String dtDocStartBegin;
    /** 开始时间的结束时间 */
    @Excel(name = "开始时间的结束时间")
    private String dtDocStartEnd;
    /** 结束时间的开始时间 */
    @Excel(name = "结束时间的开始时间")
    private String dtDocFinishBegin;
    /** 结束时间的结束时间 */
    @Excel(name = "结束时间的结束时间")
    private String dtDocFinishEnd;
    /** 审核人 */
    @Excel(name = "审核人")
    private String confirmUserName;
    /** 废品单UUID */
    @Excel(name = "废品单UUID")
    private String fkWasteUuid;
    private String itemSpecification;

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification;
    }

    public String getFkWasteUuid() {
        return fkWasteUuid;
    }

    public void setFkWasteUuid(String fkWasteUuid) {
        this.fkWasteUuid = fkWasteUuid;
    }

    public String getConfirmUserName() {
        return confirmUserName;
    }

    public void setConfirmUserName(String confirmUserName) {
        this.confirmUserName = confirmUserName;
    }

    public String getDtDocStartBegin() {
        return dtDocStartBegin;
    }

    public void setDtDocStartBegin(String dtDocStartBegin) {
        this.dtDocStartBegin = dtDocStartBegin;
    }

    public String getDtDocStartEnd() {
        return dtDocStartEnd;
    }

    public void setDtDocStartEnd(String dtDocStartEnd) {
        this.dtDocStartEnd = dtDocStartEnd;
    }

    public String getDtDocFinishBegin() {
        return dtDocFinishBegin;
    }

    public void setDtDocFinishBegin(String dtDocFinishBegin) {
        this.dtDocFinishBegin = dtDocFinishBegin;
    }

    public String getDtDocFinishEnd() {
        return dtDocFinishEnd;
    }

    public void setDtDocFinishEnd(String dtDocFinishEnd) {
        this.dtDocFinishEnd = dtDocFinishEnd;
    }

    public String getDispatchDocNum() {
        return dispatchDocNum;
    }

    public void setDispatchDocNum(String dispatchDocNum) {
        this.dispatchDocNum = dispatchDocNum;
    }

    public String getProcessExecUuid() {
        return processExecUuid;
    }

    public void setProcessExecUuid(String processExecUuid) {
        this.processExecUuid = processExecUuid;
    }

    public String getMpsDocNum() {
        return mpsDocNum;
    }

    public void setMpsDocNum(String mpsDocNum) {
        this.mpsDocNum = mpsDocNum;
    }

    public String getTaskDocNum() {
        return taskDocNum;
    }

    public void setTaskDocNum(String taskDocNum) {
        this.taskDocNum = taskDocNum;
    }

    public String getEpsDocNum() {
        return epsDocNum;
    }

    public void setEpsDocNum(String epsDocNum) {
        this.epsDocNum = epsDocNum;
    }

    public String getAttentionNickName() {
        return attentionNickName;
    }

    public void setAttentionNickName(String attentionNickName) {
        this.attentionNickName = attentionNickName;
    }

    public String getProcessDocNum() {
        return processDocNum;
    }

    public void setProcessDocNum(String processDocNum) {
        this.processDocNum = processDocNum;
    }

    public String getProcessNickName() {
        return processNickName;
    }

    public void setProcessNickName(String processNickName) {
        this.processNickName = processNickName;
    }

    public String getDispatchNickName() {
        return dispatchNickName;
    }

    public void setDispatchNickName(String dispatchNickName) {
        this.dispatchNickName = dispatchNickName;
    }

    public String getDrawNum() {
        return drawNum;
    }

    public void setDrawNum(String drawNum) {
        this.drawNum = drawNum;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setDispatchUuid(String dispatchUuid)
    {
        this.dispatchUuid = dispatchUuid;
    }

    public String getDispatchUuid() 
    {
        return dispatchUuid;
    }
    public void setFkMesPsUuid(String fkMesPsUuid) 
    {
        this.fkMesPsUuid = fkMesPsUuid;
    }

    public String getFkMesPsUuid() 
    {
        return fkMesPsUuid;
    }
    public void setFkDeptId(Long fkDeptId) 
    {
        this.fkDeptId = fkDeptId;
    }

    public Long getFkDeptId() 
    {
        return fkDeptId;
    }
    public void setDispatchQty(BigDecimal dispatchQty) 
    {
        this.dispatchQty = dispatchQty;
    }

    public BigDecimal getDispatchQty() 
    {
        return dispatchQty;
    }
    public void setDtStart(Date dtStart) 
    {
        this.dtStart = dtStart;
    }

    public Date getDtStart() 
    {
        return dtStart;
    }
    public void setDtDone(Date dtDone) 
    {
        this.dtDone = dtDone;
    }

    public Date getDtDone() 
    {
        return dtDone;
    }



    public void setFkConfirmUserId(Long fkConfirmUserId) 
    {
        this.fkConfirmUserId = fkConfirmUserId;
    }




    public String getWmsDictMeasuringUnit() {
        return wmsDictMeasuringUnit;
    }

    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dispatchUuid", getDispatchUuid())
            .append("fkMesPsUuid", getFkMesPsUuid())
            .append("fkDeptId", getFkDeptId())
            .append("dispatchQty", getDispatchQty())
            .append("dtStart", getDtStart())
            .append("dtDone", getDtDone())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docTitle", getDocTitle())
            .append("docNum", getDocNum())
            .append("docDt", getDocDt())
            .append("docNote", getDocNote())
            .append("fkAttentionUserId", getFkAttentionUserId())
            .append("fkConfirmUserId", getFkConfirmUserId())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmStatus", getOaDictConfirmStatus())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
